using System;
using System.Collections.Generic;
using System.Text;

namespace DTLAutomateGUI.Controls
{
	public delegate void SelectedEvent(SelectEventArgs se);

	public enum SelectAction
	{
		Select = 1,
		Deselect = 0,
		Multiselect = 2
	}

	public struct SelectEventArgs
	{
		public SelectEventArgs(Selectable source, SelectAction action)
		{
			this.source = source;
			this.action = action;
		}
		public Selectable source;
		public SelectAction action;
	}

	public interface Selectable
	{
		event SelectedEvent selectionPerformed;

		bool Selected { get; set; }
		void toggleSelected();

	}
}
